package com.example.soa2.service;

import com.example.soa2.entity.UserDTO;
import com.example.soa2.vo.UserVO;

import java.util.ArrayList;
import java.util.List;

public interface UserService {

    public List<UserVO> getAllUsers();

    public UserVO getUserById(String id);

    public UserVO getUserByName(String name);

    public int addUser(UserDTO dto);

    public int deleteUserByName(String id);

    public ArrayList<Integer> deleteUsersByIdList(String[] ids);

    public int updateUser(UserDTO dto);
}
